package com.lkl.client;

import com.lkl.bean.BaseResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @Author lkl
 * @Description
 * @Date 2022/3/28
 */
@FeignClient(name = "tg-pay", path = "/pay")
public interface PayClients {

    @RequestMapping("/buyTicket")
    public BaseResp buyTicket(@RequestBody Map map);

    @RequestMapping("/refundTicket")
    public BaseResp refundTicket(@RequestBody Map map);
}
